package org.alwayssuper.protocol.gbt32960;

import org.alwayssuper.protostar.annotation.Field;
import org.alwayssuper.protostar.annotation.Message;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.alwayssuper.protocol.basics.GBTMessage;
import org.alwayssuper.protocol.commons.GBTRequestType;

import java.time.LocalDateTime;

/**
 * GBT32960通用应答消息
 * 用于各种请求的应答，只包含基本的消息头信息，不包含业务数据
 * 
 * @author alwaysSuper
 */
@ToString
@Data
@Accessors(chain = true)
@Message(GBTRequestType.应答标识)
public class CommonResponse extends GBTMessage {
    // 通用应答消息没有业务数据，只包含消息头和应答时间
    @Field(length = 6, desc = "发送时间(YYMMDDHHMMSS)")
    private LocalDateTime sendTime;
}